package jnpf.model.dify.file.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 更新分段
 * @author zpw
 */
@Data
@ApiModel("更新分段")
public class UpdateSegmentReq {
    public Segment segment;
    @Data
    public static class Segment {
        @ApiModelProperty("文本内容/问题内容")
        public String content;
        @ApiModelProperty("答案内容")
        public String answer;
        @ApiModelProperty("关键字")
        public List<String> keywords;
        @ApiModelProperty("是否启动")
        public Boolean enabled;
    }
}
